﻿using System;
namespace Gift.Model
{
    /// <summary>
    /// tbGoodsEntitys:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class tbGoodsEntitys
    {
        public tbGoodsEntitys()
        { }
        #region Model
        private int _id;
        private int _goods;
        private string _barcode;
        private string _goodsartno;
        private decimal _goodsweight = 0M;
        private string _weightunit = "克";
        private decimal _marketprice = 0M;
        private decimal _saleprice = 0M;
        private decimal _costprice = 0M;
        private int? _integral;
        private decimal _giveintegral = 0;
        private int _inventory = 0;
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int goods
        {
            set { _goods = value; }
            get { return _goods; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string barCode
        {
            set { _barcode = value; }
            get { return _barcode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string goodsArtno
        {
            set { _goodsartno = value; }
            get { return _goodsartno; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal goodsWeight
        {
            set { _goodsweight = value; }
            get { return _goodsweight; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string weightUnit
        {
            set { _weightunit = value; }
            get { return _weightunit; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal marketPrice
        {
            set { _marketprice = value; }
            get { return _marketprice; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal salePrice
        {
            set { _saleprice = value; }
            get { return _saleprice; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal costPrice
        {
            set { _costprice = value; }
            get { return _costprice; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? integral
        {
            set { _integral = value; }
            get { return _integral; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal giveIntegral
        {
            set { _giveintegral = value; }
            get { return _giveintegral; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int inventory
        {
            set { _inventory = value; }
            get { return _inventory; }
        }
        #endregion Model

    }
}

